<!DOCTYPE html>
<html>

<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <title>{block name="title"}{/block}</title>
    <!-- Tell the browser to be responsive to screen width -->
    <meta content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" name="viewport">
    <!-- Bootstrap 3.3.7 -->
    <link rel="stylesheet" href="/public/admin/adminlte/bower_components/bootstrap/dist/css/bootstrap.min.css">
    <!-- Font Awesome -->
    <link rel="stylesheet" href="/public/admin/adminlte/bower_components/font-awesome/css/font-awesome.min.css">
    <!-- Ionicons -->
    <link rel="stylesheet" href="/public/admin/adminlte/bower_components/Ionicons/css/ionicons.min.css">
    <!-- Theme style -->
    <link rel="stylesheet" href="/public/admin/adminlte/dist/css/AdminLTE.min.css">
    <!-- AdminLTE Skins. Choose a skin from the css/skins
         folder instead of downloading all of them to reduce the load. -->
    <link rel="stylesheet" href="/public/admin/adminlte/dist/css/skins/_all-skins.min.css">

    <link rel="stylesheet" href="/public/admin/adminlte/bower_components/select2/dist/css/select2.min.css">

    <!-- HTML5 Shim and Respond.js IE8 support of HTML5 elements and media queries -->
    <!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
    <!--[if lt IE 9]>
    <script src="/public/admin/adminlte/js/html5shiv.min.js"></script>
    <script src="/public/admin/adminlte/js/1.4.2/respond.min.js"></script>
    <![endif]-->
    <!-- iCheck for checkboxes and radio inputs -->
    <link rel="stylesheet" href="/public/admin/adminlte/plugins/iCheck/all.css">
    <link rel="stylesheet" href="/public/admin/adminlte/plugins/timepicker/bootstrap-timepicker.min.css">
    <link rel="stylesheet" href="/public/admin/adminlte/bower_components/bootstrap-datepicker/dist/css/bootstrap-datepicker3.css">

    <!-- Google Font -->
    <link rel="stylesheet" href="/public/admin/adminlte/font/font_css.css?family=Source+Sans+Pro:300,400,600,700,300italic,400italic,600italic">
    <link rel="stylesheet" href="/public/admin/js/bootoast.css">

</head>
<style type="text/css">
    .web_child_nav .active {
        background-color: white;
        color: black;
    }
    
    .web_child_nav .active>a {
        color: black;
    }
    
    .ssactive {
        border: 2px solid #00c0ef;
    }
</style>

<body class="hold-transition  skin-blue register-page">
    <div class="wrapper1" style="background-color: #cccccc30">
        <header class="main-header">
            <!-- Logo -->

            <!-- Header Navbar: style can be found in header.less -->
            <nav class="navbar navbar-static-top" style="margin-left: 0px; height: 80px;">
                <!-- Sidebar toggle button-->


                <div class="navbar-custom-menu" style="margin-top: 10px">
                    <ul class="nav navbar-nav">
                        <!-- Messages: style can be found in dropdown.less-->

                        <!-- User Account: style can be found in dropdown.less -->
                        <li class="dropdown user user-menu">
                            <a href="#" class="dropdown-toggle" data-toggle="dropdown">
                                <img src="/public/admin/adminlte/dist/img/user2-160x160.jpg" class="user-image" alt="User Image">
                                <span class="hidden-xs">{:session("user_info")->nickname}</span>
                            </a>
                            <ul class="dropdown-menu">


                                <!-- Menu Footer-->
                                <li class="user-footer">
                                    <div class="pull-left">
                                        <a href="#" class="btn btn-default btn-flat">{:session("user_info")->nickname}</a>
                                    </div>
                                    <div class="pull-right">
                                        <a href="{:url('/index/common/logout')}" class="btn btn-default btn-flat">退出登录</a>
                                    </div>
                                </li>
                            </ul>
                        </li>
                        <!-- Control Sidebar Toggle Button -->
                        <li>

                        </li>
                    </ul>
                </div>
            </nav>
        </header>
        <div class="register-box" style="width:90%;">
            <div class="row" style="margin-bottom: 30px">
                <div style="width: 600px; margin: 0 auto; text-align: center; padding: 10px">
                    <img class="" src="/public/static/img/logo2.jpg" style="height: 50px;" alt="Photo">
                    <img class="" src="/public/static//img/logo1.png" style="height: 50px;" alt="Photo">
                </div>

            </div>



            <div style="background-color: white;padding: 20px">
                <div class="row">
                    <div class="  col-md-6 col-sm-6 col-xs-12">
                        <a href="/">
                            <div class="info-box bg-default   ssactive">

                                <div class="info-box-content " style="margin-left: 0px; text-align: center">

                                    <h3>项目列表</h3>
                                </div>
                                <!-- /.info-box-content -->
                            </div>
                        </a>
                    </div>
                    <div class="  col-md-6 col-sm-6 col-xs-12">
                        <a href="/">
                            <div class="info-box bg-aqua ">

                                <div class="info-box-content" style="margin-left: 0px; text-align: center">

                                    <h3>数据显示</h3>
                                </div>
                                <!-- /.info-box-content -->
                            </div>
                        </a>
                    </div>
                </div>
                <section class="content">
                    <div class="row">
                        <div class="box-tools" style="margin-left: 15px; margin-bottom: 5px">
                            <div class=" input-group input-group-sm " style="width: 150px; ">
                                {if condition="check_access('/Index/Project/index/add')"}
                                <a href="{:url( '/Index/baseproject/add')} " class="btn btn-block btn-info " data-toggle="modal" data-target="#base_addprojeect_modal">添加项目</a>
                                <!---->
                                {/if}
                            </div>
                        </div>
                    </div>

                    <div class="row">
                        <div class="box box-primary">

                            <div class="box-body no-padding">
                                <div class="col-xs-12">

                                    <div class="box-header">
                                        <h3 class="box-title">项目列表</h3>

                                        <div class="box-tools">

                                            <div class="input-group input-group-sm" style="width: 250px;">

                                                <input type="text" name="table_search" class="form-control pull-right" placeholder="Search">

                                                <div class="input-group-btn">
                                                    <button type="submit" class="btn btn-default"><i class="fa fa-search"></i></button>
                                                </div>
                                            </div>
                                        </div>
                                    </div>
                                    <!-- /.box-header -->
                                    <div class="box-body table-responsive no-padding">
                                        <table class="table table-hover">
                                            <tbody>
                                                <tr>
                                                    <th>标号</th>



                                                    <th>名称</th>

                                                    <th>项目类型</th>

                                                    <th>总包单位</th>

                                                    <th>项目经理</th>

                                                    <th>市场人员</th>

                                                    <th>合同时间</th>

                                                    <th>合同工期</th>

                                                    <th>创建时间</th>


                                                    <th>项目状态</th>

                                                    <th>业主单位</th>

                                                    <th>项目金额</th>

                                                    <th style="text-align: center">操作</th>
                                                </tr>
                                                {volist name="data_list" id="vo" key="key"}
                                                <tr>
                                                    <td>{$key}</td>

                                                    <td>
                                                        <a href=""> {$vo.title}</a></td>
                                                    <td>{$project_type[$vo.p_type]}</td>
                                                    <td>{$zb_list[$vo.company_id]} </td>
                                                    <td>{$users[$vo.pm_uid]}</td>
                                                    <td>{$users[$vo.market_id]} </td>
                                                    <td>{$vo.pact_time}</td>
                                                    <td>{$vo.day}</td>
                                                    <td>{$vo.create_time}</td>
                                                    <td>{$project_status[$vo.status]}</td>
                                                    <td>{$yz_list[$vo.owner_id]}</td>
                                                    <td>{$vo.price}</td>
                                                    <td style="text-align: center">
                                                        {if condition="check_access('/Index/Project/Index/index')"}
                                                        <a href="{:url('/Index/Project/Index/index',array('project_id'=>$vo.id))}" class="btn label-info ">进入项目</a> {/if}
                                                    </td>
                                                </tr>
                                                {/volist}
                                            </tbody>
                                        </table>

                                        <div class="col-sm-7">
                                            {$page}

                                        </div>
                                    </div>
                                    <!-- /.box-body -->

                                    <!-- /.box -->
                                </div>
                            </div>
                        </div>
                    </div>

                </section>
            </div>
            <!-- /.form-box -->
        </div>

        <!-- ./wrapper -->
    </div>
    <div class="modal " id="base_addprojeect_modal">
        <div class="modal-dialog ">
            <div class="modal-content "></div>
        </div>
    </div>
    {include file="Master/script" /}
    <!-- JavaScript -->
    <script>
        $(function() {

            $(".wrapper1").css("min-height", document.body.clientHeight);
        });
    </script>

</body>

</html>